/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/pages/layout/Layout'

const purchaseRouter = {
  path: '/purchase',
  component: Layout,
  redirect: '/table/complex-table',
  name: '订单',
  meta: {
    title: '订单',
    icon: 'table'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/pages/purchase/index.vue'),
      name: '订单查询',
      meta: { title: '订单查询' }
    },
    {
      path: 'dialog',
      component: () => import('@/pages/purchase/dialog/index.vue'),
      name: '采购明细',
      meta: { title: '采购明细' }
    }
  ]
}
export default purchaseRouter
